package com.codepilot.server.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("统计信息VO")
public class StatsVO {

    @ApiModelProperty("对应的用户ID")
    private Integer userId;

    @ApiModelProperty("总做题数")
    private Integer total;

    @ApiModelProperty("正确率")
    private float correctRate;

    @ApiModelProperty("做题天数")
    private Integer days;

    @ApiModelProperty("难度分布")
    private DifficultyDistrbVO difficultyDistrb = null;

    @ApiModelProperty("题型分布")
    private TopicDistrbVO topicDistrb = null;

}
